import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

//vue 启动主文件
console.log("vue lanauch")

Vue.config.productionTip = false


import "./utils/golbal"
import "@/assets/styles/index.scss"

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)  //全局注册声明 element  this.$message 调用

//滑动解锁

import SlideVerify from 'vue-monoplasty-slide-verify';

Vue.use(SlideVerify);

//图片预览插件
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'

Vue.use(Viewer, {
  defaultOptions: {
    zIndex: 9999
  }
})



//富文本 引入
import VueQuillEditor from 'vue-quill-editor'
// quill 富文本样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

import { axios } from "@/utils/axios";
Vue.prototype.$axios = axios  //配置全局 Vue的原型属性 this.$axios
new Vue({
  router,  //挂载到根实例
  store,
  render: h => h(App)
}).$mount('#app')
